Skip to main content

Get Contacts

AutomatR.TFMailchimp.Activities.GetContacts

The "Get Contacts" activity in AutomatR is part of the Mailchimp Contact activities package, allowing users to retrieve a list of contacts associated with a specified audience in their Mailchimp account.

Properties

NameDescription
Input
Audience NameSpecifies the name of the audience for which contacts need to be listed. String variables containing the audience name.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Contacts" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
Get Contact ResponseOutputs a list of email addresses for all contacts in the specified audience of the Mailchimp account. Variables of type List<string> to store the list of email addresses.

How to use:

  1. Drag and drop the "Get Contacts" activity onto the workflow.
  2. Configure the properties by specifying the audience name for which contacts need to be listed.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve the list of contacts associated with the specified audience in the Mailchimp account.
  5. The list of email addresses is stored in the variable specified for "Get Contact Response."

Example: Consider an example where the "Get Contacts" activity is used to retrieve the list of contacts for an audience named "NewsletterSubscribers":

Get Contacts:
Delay: 2
Audience Name: "NewsletterSubscribers"
Get Contact Response: contactList

In this example, the activity retrieves the list of email addresses for all contacts in the "NewsletterSubscribers" audience. The list of email addresses is stored in the variable "contactList" for further handling in the workflow.